package com.tjtt.tdm.filemodel.service;


import java.util.List;
import java.util.Map;

import com.tjtt.tdm.base.PageResult;
import com.tjtt.tdm.exception.DaoException;
import com.tjtt.tdm.exception.ServiceException;
import com.tjtt.tdm.filemodel.bean.Filemode;
import com.tjtt.tdm.filemodel.bean.PrintReportMode;
import com.tjtt.tdm.filemodel.bean.TdmCentificatemodeItem;
import com.tjtt.tdm.form.bean.AutoFormsField;
import com.tjtt.tdm.form.bean.AutoFormsNew;

public interface IFilemodeService {
	public PageResult queryFilemodeList(Map filterMap);
	
	public void update(Object o) throws DaoException;
	
	public void save (Object o) throws DaoException;
	
	public void delete (Filemode filemode) throws DaoException;
	
	public Filemode getFilemodeById(long id);

	
	/**
	 * 通过选中节点查询分类信息
	 * @param pId
	 * @param filterMap
	 * @return PageResult
	 * @author 谈泊麟
	 * @date 2013-1-24 下午03:35:12
	 */
	public PageResult getModelByPid(int type,Map<String, String> filterMap)throws ServiceException;

	public PageResult queryModeItemList(Map<String, String> filterMap);
	
	public PageResult queryItemList(Map<String, String> filterMap);


	public AutoFormsField findAuToFormsField(Long ids);

	public AutoFormsNew findAuToFormsNew(Long formsId);

	public PageResult queryCentificateItemList(Map<String, String> filterMap);

	public PageResult queryPrintReportItemList(Map<String, String> filterMap);
	/**
	 * 
	 *方法描述:查询合格证标签
	 *@author: wangxd
	 *@date: 2013-12-12下午04:54:39
	 *@param id
	 *@return
	 */
	public TdmCentificatemodeItem queryModeItemById(Long id);

	public PageResult queryJiShuTiaoJianList(Map filterMap);
	public PageResult queryTempletList(Map<String, String> filterMap);
	public PrintReportMode toUpdateTemplet(Long id);
	public void deleteTemplet(String ids) ;
	/**
	 * 选择表单列表
	 * @author zhn
	 * @date Dec 2, 2013 5:45:46 PM
	 */
	public PageResult queryFormList(Map<String, String> filterMap);
	public void saveTemplet(PrintReportMode printReportMode) throws ServiceException ;
	public void updateTemplet(PrintReportMode printReportMode) throws ServiceException;
	
	public PageResult queryMergecelllist(Map filterMap);
	
	
}
